{% extends "extra/default.html" %}

{% block pageinfo %}<h2>{{ main.title }}</h2>{% endblock %}

{% block extranav %}
{% if children %}
{% spaceless %}
<ul class="nav">
{% for child in children %}
    <li><a href="{{ child.get_absolute_url }}">{{child.title}}</a></li>
{% endfor %}
</ul>
{% endspaceless %}
{% else %}
<p></p>
{% endif %}
{% endblock %}